# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-soupsieve
pkgver=2.0.1
pkgrel=0
pkgdesc="A modern CSS selector implementation for Beautiful Soup"
options="!check" # Circular dependency on py3-beautifulsoup4
url="https://github.com/facelessuser/soupsieve"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/facelessuser/soupsieve/archive/$pkgver.tar.gz"
builddir="$srcdir/soupsieve-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f4ef4deee81bb31952e1d3216250712f09b425e7a2253e15bd1b38cb74b680e421e7d086a8770737898f6b57867f07f2dd07b8a98108d05e338bce92b274b85f  py3-soupsieve-2.0.1.tar.gz"
